$def with (file)
<tr>
<td><input type="checkbox" name="t-$file.hash" value="$file.hash"></td>
<td>
$file.path_str</td>
<td class="size">$:human_size(file.size_bytes)
$:processbar(file.completed_chunks, file.size_chunks)</td>
<td><select name="p-$file.index">
$:priority_select(file.priority, 1)
</select></td>
</tr>
